﻿using MoreMountains.CorgiEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class StateText : MonoBehaviour
{
    public Character _character;
    public Text _text;



    private void Start()
    {
        _text = GetComponent<Text>();
        _character = GameObject.FindObjectOfType<Character>();
    }
    private void Update()
    {
        _text.text = " State: " + _character.MovementState.CurrentState;

    }
}
